/**
 * Copyright:  Copyright (c) 2013
 *
 * @FileName		: BSDetailDAOImpl.java
 * @PageName		: BS 상세
 * @Date			: 오후 1:29:19
 * @LastModifier	: 최경민
 * @LastModifyDate	: 
 * @LastModifier	: 
 * Change history	:
 */
package com.pulp.management.dao.impl;

import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.pulp.management.dao.BSDetailDAO;
import com.pulp.management.model.BSDetailInfo;

/**
 * @author 최경민
 *
 */
public class BSDetailDAOImpl extends SqlMapClientDaoSupport implements BSDetailDAO {

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.BSDetailDAO#getBSLesfTableList()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<BSDetailInfo> getBSLeftTableList() throws SQLException {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.BSLeftTableList", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.BSDetailDAO#getBSRightTableList()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<BSDetailInfo> getBSRightTableList() throws SQLException {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.BSRightTableList", mapArgs);
	}

}
